#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__author__ = "Administrator"
__name__="commong"
__date__="2016/8/31"
__time__="11:34"
"""
#  公共方法
def try_int(arg,default):
    try:
        arg = int(arg)
    except Exception,e:
        arg = default
    return arg
